package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-业务-srtp-重路由属性对象 element_busi_srtp_rerouting
 *
 * @author tony
 * @date 2024-12-05
 */
public class ElementBusiSrtpRerouting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** srtp业务主键 */
    @Excel(name = "srtp业务主键")
    @ApiModelProperty(value = "srtp业务主键")
    private String srtpId;

    /** 回切方式 */
    @Excel(name = "回切方式")
    @ApiModelProperty(value = "回切方式")
    private String failbackType;

    /** 回切等待时间 */
    @Excel(name = "回切等待时间")
    @ApiModelProperty(value = "回切等待时间")
    private String failbackWaitTime;

    /** 是否为模版（Y:是 N:否） */
    @Excel(name = "是否为模版", readConverterExp = "Y=:是,N=:否")
    @ApiModelProperty(value = "是否为模版")
    private String templateFlag;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setSrtpId(String srtpId)
    {
        this.srtpId = srtpId;
    }

    public String getSrtpId()
    {
        return srtpId;
    }
    public void setFailbackType(String failbackType)
    {
        this.failbackType = failbackType;
    }

    public String getFailbackType()
    {
        return failbackType;
    }
    public void setFailbackWaitTime(String failbackWaitTime)
    {
        this.failbackWaitTime = failbackWaitTime;
    }

    public String getFailbackWaitTime()
    {
        return failbackWaitTime;
    }
    public void setTemplateFlag(String templateFlag)
    {
        this.templateFlag = templateFlag;
    }

    public String getTemplateFlag()
    {
        return templateFlag;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("srtpId", getSrtpId())
                .append("failbackType", getFailbackType())
                .append("failbackWaitTime", getFailbackWaitTime())
                .append("templateFlag", getTemplateFlag())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
